import request from '@/utils/request'

export function queryPageDoctors(data) {
  return request({
    url: '/doctor/queryPageUser',
    method: 'post',
    data,
  })
}

export function addDoctor(data) {
  return request({
    url: '/doctor/addDoctor',
    method: 'post',
    data,
  })
}

export function updateDoctor(data) {
  return request({
    url: '/doctor/updateDoctor',
    method: 'post',
    data,
  })
}

export function deleteDoctor(data) {
  return request({
    url: '/doctor/deleteDoctorById',
    method: 'post',
    data,
  })
}
